package com.ruoyi.system.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 周边设施管理对象 community_facilities
 * 
 * @author ruoyi
 * @date 2024-03-27
 */
public class CommunityFacilities extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    private Long id;

    /** 设施名称 */
    @Excel(name = "设施名称")
    private String facilityName;

    /** 设施类型(字典) */
    @Excel(name = "设施类型(字典)")
    private Long typeId;

    /** 设施负责人 */
    @Excel(name = "设施负责人")
    private String facilityManager;

    /** 设施联系人 */
    @Excel(name = "设施联系人")
    private String facilityContact;

    /** 联系电话 */
    @Excel(name = "联系电话")
    private String phone;

    /** 详细地址 */
    @Excel(name = "详细地址")
    private String address;

    /** 删除标记，0为删除，1已删除 */
    private String delFlag;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }

    public void setFacilityName(String facilityName) 
    {
        this.facilityName = facilityName;
    }

    public String getFacilityName() 
    {
        return facilityName;
    }
    public void setTypeId(Long typeId) 
    {
        this.typeId = typeId;
    }


    public void setAddress(String address){
        this.address = address;
    }
    public Long getTypeId() 
    {
        return typeId;
    }
    public void setFacilityManager(String facilityManager) 
    {
        this.facilityManager = facilityManager;
    }

    public String getFacilityManager() 
    {
        return facilityManager;
    }
    public void setFacilityContact(String facilityContact) 
    {
        this.facilityContact = facilityContact;
    }

    public String getFacilityContact() 
    {
        return facilityContact;
    }
    public void setPhone(String phone) 
    {
        this.phone = phone;
    }

    public String getPhone() 
    {
        return phone;
    }

    public String getAddress(){
        return address;
    }
    public void setDelFlag(String delFlag)
    {
        this.delFlag = delFlag;
    }

    public String getDelFlag()
    {
        return delFlag;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("facilityName", getFacilityName())
            .append("typeId", getTypeId())
            .append("facilityManager", getFacilityManager())
            .append("facilityContact", getFacilityContact())
            .append("phone", getPhone())
            .append("remark", getRemark())
            .append("createBy", getCreateBy())
            .append("updateBy", getUpdateBy())
            .append("createTime", getCreateTime())
            .append("updateTime", getUpdateTime())
            .append("address", getAddress())
            .toString();
    }
}
